import request from '@/utils/request'

/**
 * 门店服务
 * @type {{saveShop: (function(*=): *), getShop: (function(): *)}}
 */
export const ShopService = {
  // 门店详情
  getShop: function() {
    return request({ method: 'get', url: '/manage/shop/info.do' })
  },
  // 保存门店信息
  saveShop: function(data) {
    return request({ method: 'post', url: '/manage/shop/merge.do', data: data })
  }
}
